const {CreateUser,UserCount} = require('../dao/dbserver/user')
//用户注册
exports.add = (req,res,next)=>{
    var obj  =req.body
    CreateUser(obj,res)
}
//判断用户名，邮箱是否存在
exports.check =  (req,res,next)=>{
    var obj  =req.query
    UserCount(obj,res)
}